<!DOCTYPE html>

<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>继承</title>
    <style type="text/css">
        h3 {
            text-align: center;
        }
        
        .father {
            width: 80%;
            border: 1px solid blue;
            margin: auto;
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            text-shadow: 0 0 3px red;
            text-decoration: line-through;
            line-height: 30px;
            color: purple;
        }
    </style>
</head>

<body>

    <div class="father">
        这是DIV中直接书写的文本
        <p class="child">这是在段落中书写的文本</p>
        <p class="child">这是在段落中书写的文本</p>
        <p class="child">这是在段落中书写的文本</p>
        <a href="http://www.ecut.edu.cn">东华理工大学</a>
    </div>

</body>

</html>